package com.fusetech.web.controller.system;

import com.fusetech.common.core.controller.BaseController;
import com.fusetech.system.event.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：Liuwq-Fuse
 * @Package：com.fusetech.web.controller.system
 * @Project：RuoYi-Vue
 * @name：TestHelloController
 * @Date：2023/5/31 11:13
 * @Filename：TestHelloController
 */
@RestController
public class TestHelloController extends BaseController{
    @Autowired
    private UserService userService;
    @GetMapping("/testEvent1")
    public String test1() {
        userService.register("坤坤");
        return "test1 success";
    }
}
